﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace Organizer.Model
{
    //[DataContract(IsReference=true)]
    public class Item
    {
        protected Item() { }

        [Required]
        public int ItemId { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        public DateTime Inserted { get; set; }

        [Required]
        public DateTime Updated { get; set; }
    }
}
